<template>
  <div id="app">
    <button @click="openToast">显示提示</button>
  </div>
</template>

<script>

export default {
  name: 'App',
  methods: {
    openToast(){
      this.$toast("hello world", 1000)
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
